package com.opc.utils;

/**
 * @author SEG
 * @Classname Result
 * @Description 封装opc结果集
 */
public class Result {
    /**
     * 监控位置
     */
    private String itemId;
    /**
     * 监控值
     */
    private Object value;

    public Result(String itemId, Object value) {
        this.itemId = itemId;
        this.value = value;
    }

    public String getItemId() {
        return itemId;
    }

    public Object getValue() {
        return value;
    }

    @Override
    public String toString() {
        return "[itemId=" + itemId + ", value=" + value + "]";
    }
}
